package net.pinnoocle.playdao.entity.web.master;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.sql.Time;
import java.util.Date;
import java.util.List;

/**
 * @author ye
 * @Description
 * @create 2021-11-05 15:55
 */
@Data
public class UpdateMasterInfoParams {

    @ApiModelProperty("头像")
    private String headPortrait;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("星座")
    private String constellation;

    @ApiModelProperty("上班开始时间")
    @JsonFormat(pattern = "HH:mm")
    private Date workStartTime;

    @ApiModelProperty("今日是否休息 0 否 1 休息")
    private Integer isRest;

    @ApiModelProperty("个性签名")
    private String signature;

    @ApiModelProperty(value = "我会的剧本list",required = true)
    @NotNull(message = "请选择至少1个剧本")
    private List<String> scriptIds;
}
